package io.plus.user_interface.io.server;

import io.plus.user_interface.io.common.UserConfiguration;
//import org.tio.interactive.ssl.SslConfig;


public class ServerDemoStart {

    private static void initSsl(UserConfiguration userConfiguration) throws Exception {

    }

    public static void main(String[] args) throws Exception {
        UserConfiguration userConfiguration = new UserConfiguration("localhost", 6666);
        // 初始化SSL;(开启SSL之前,你要保证你有SSL证书哦...)
        initSsl(userConfiguration);
        // 设置群组监听器，非必须，根据需要自己选择性实现;

        ServerStarter serverStarter = new ServerStarter(userConfiguration);

        serverStarter.start();
    }
}
